component.widget-progress

widget-progress

Lorem ipsum dolor - 100%

Progress Widget

Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et.

<!-- Widget With Progress Bar -->

<div class="widget">
	<div class="widget-head progress" id="widget-progress-bar">
		<div class="progress-bar progress-bar-primary">Lorem ipsum <strong>dolor</strong> - <strong class="steps-percent">100%</strong></div>
	</div>
	<div class="widget-body">
		<h4>Progress Widget</h4>
		<p>Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et.</p>
	</div>
</div>
<!-- // Widget With Progress Bar END -->


Code

@import "http://localhost/shared/components/modules/admin/widgets/widget-progress/assets/less/widget-progress.less";
@import "assets/components/core/less/widgets.less";
@import "assets/components/modules/admin/ui/progress-bars/assets/less/progress-bars.less";

Usage

  1. Create a new LESS file (eg. styles.less)
  2. Copy & paste the above imports in the LESS file.
  3. Place the file in your project's document root.
  4. Load the LESS file into the <head> section of your HTML document, before any JavaScript files:

    <link type="stylesheet/less" href="styles.less" />

    NOTE  All the styles from the CORE package also need to be imported in this file, before the component imports.

  5. If you'd like to include other components on the same page, don't create multiple LESS files, but add all the imports in one file. You can create a LESS file for each page with just the resources used for that specific page, or you could create and use a single LESS file for the entire project.
  6. In production, compile the LESS file and use the resulting minified CSS file in the HTML document.

Scripts

BODY You should include the following scripts at the end of the HTML document, right before the closing </body> tag.

<script src="assets/components/modules/admin/widgets/widget-progress/assets/js/widget-progress.init.js?v=v1.2.3"></script>